package com.nlgc365.designpattern.Chapter04_Pattern.Behavior.P07_Visitor.Iteration03;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class WordResourceFile extends ResourceFile {
    private static final Logger logger = LoggerFactory.getLogger(WordResourceFile.class);

    public WordResourceFile(String path) {
        super(path);
    }

    public void visit(Visitor visitor) {
        visitor.visit(this);
    }

    /*@Override
    public void extract2Txt() {
        logger.info("Word extract to Txt --> Path: {}", this.getPath());
    }*/

    /*
    @Override

    public void extract(Extractor extractor) {
        extractor.extract2Txt(this);
    }

    @Override
    public void compress(Compressor compressor) {
        compressor.compress(this);
    }
    */
}
